﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CSP.Model.Entities
{
    [Serializable]
    public class Blog
    {
        public string Title { get; set; }
        public string User { get; set; }
        public DateTime Created { get; set; }
        public string TimePosted { get; set; }
        public string UserImg { get; set; }


        public Blog(string title, string user, DateTime created, string timePosted, string userImg)
        {
            Title = title;
            User = user;
            Created = created;
            TimePosted = timePosted;
            UserImg = userImg;
        }
    }
}
